package com.min.star.model;

import com.baomidou.mybatisplus.annotation.TableField;
/**
 * @TableField(exist = false)指定跟数据库没有关系不必转换为page_size,
 *  即不是数据库的表
 * @author 24815
 *
 */
public class BaseEntity {
	// 分页大小
	@TableField(exist = false)
	private int pageSize;
	// 分页页码
	@TableField(exist = false)
	private int pageNumber;
	// 记录偏移量
	@TableField(exist = false)
	private int offset;
	// 排序方式
	@TableField(exist = false)
	private String sortOrder;
	// 排序字段
	@TableField(exist = false)
	private String sort;

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public String getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

}
